package com.qf.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 统一字段表
 */
@Data
public class BaseEntity {

    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private LocalDateTime ctime = LocalDateTime.now(); // 创建时间
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss")
    private LocalDateTime utime = LocalDateTime.now(); // 修改时间
    private Integer status = 0; // 状态

}
